import axios from "../utils/axios";

export function getDailyDetailData(stock) {
    return axios.get('/daily/'+stock)
}

// 根据周日期格式获取数据
export function getDailyDataByWeekDate(stock, date) {
    return axios.get('/daily/week/'+ stock + '/' + date)
}

export function getDailyDrawdownData() {
    return axios.get('/daily/drawdown')
}

export function getDailyConsecutiveDataByStock(stock) {
    return axios.get('/daily/consecutive/' + stock)
}